﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MShop.Core.Domain
{
    
    [MetadataType(typeof(Brand_Validation))]
    public partial class Brand
    {
    }

    internal partial class Brand_Validation
    {

        [DisplayName("名称")]
        [System.ComponentModel.DataAnnotations.Required(ErrorMessage = "名称不能为空")]
        public string Name { get; set; }
         [DisplayName("图标")]
         [UIHint("Img")]
        public string Icon { get; set; }
         [DisplayName("备注")]
        public string Desc { get; set; }
    }
}